import Request from '../common/js/request'

class FlowInfo {
  /**
   * 更新流程信息
   * @param flow 流程信息
   */
  static updateFlowInfo(flow) {
    const url = '/api-workflow/flowInfo/updateFlowInfo'

    return Request.post(url, flow)
  }
}

export default FlowInfo
